package o;

import android.graphics.drawable.Drawable;
import android.view.View;
import android.widget.AutoCompleteTextView;
import java.lang.ref.WeakReference;

public class qh extends SkinAttr {

    static final class d extends fkz<SkinAttr, Drawable> {
        private WeakReference<AutoCompleteTextView> ˎ;

        public /* synthetic */ void ॱ(Object obj) {
            ˋ((Drawable) obj);
        }

        private d(AutoCompleteTextView autoCompleteTextView) {
            this.ˎ = new WeakReference(autoCompleteTextView);
        }

        public void ˋ(Drawable drawable) {
            AutoCompleteTextView autoCompleteTextView = (AutoCompleteTextView) this.ˎ.get();
            if (autoCompleteTextView != null) {
                qp.ˊ(autoCompleteTextView, drawable);
            }
        }
    }

    public qh() {
        this.ˎ = 0;
    }

    public void ˎ(View view, boolean z) {
        if (view instanceof AutoCompleteTextView) {
            AutoCompleteTextView autoCompleteTextView = (AutoCompleteTextView) view;
            if ("drawable".equals(this.attrValueTypeName) || "color".equals(this.attrValueTypeName)) {
                this.ʽ = "drawable";
                fks.ˎ(view.getContext(), this, new d(autoCompleteTextView)).ॱ(z);
            }
        }
    }
}
